package dyy.zc.computergradeexam.bean;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

/**
 * Created by chuan on 2017/4/29.
 */

public class Knowledge extends BmobObject implements Comparable<Knowledge> {
    private String title;
    private String content;
    private String sort;

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public int compareTo(Knowledge another) {
        return this.sort.compareTo(another.sort);
    }
}
